#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>

#define DEV_NAME	"/dev/hello"

int main()
{
	int fd = 0;
	fd = open(DEV_NAME,O_RDONLY);
	if(fd < 0){
		perror("open faile!\n");
		exit(1);
	}

	sleep(1);

	close(fd);
	return 0;
}
